<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>ddd</title>
    <script type="text/javascript">
        var ws = new WebSocket("ws://127.0.0.1:8080/echo");

        ws.onopen = function(event){
            console.log("connected...")
            ws.send("sdkfjsdlkf")
        }
    </script>
</head>
<body>
Hello World
</body>
</html>